import 'dart:core';
import 'dart:ui';

/// 资源抽象类
abstract class KqBaseString {
  String get ok;

  String get cancel;

  String get confirm;

  String get pleaseChooseTime;

  String get pleaseChoose;

  String get pleaseEnter;

  String get loading;

  String get search;

  String get noPermission;

  String get canNotCount;

  String get noDataTip;

  String get selectAll;

  String get more;

  String get middle;

  String get low;

  String get high;

  String get segment;

  String get videoPlay;

  String get byDay;

  String get byMonth;

  String get byYear;

  String get timeRange;

  String get to;

  String get endTimeNotLessStartTime;

  String get takePhoto;

  String get choosePhoto;

  String get collapse;

  String get total;

  String get bar;

  String get chooseFile;

  String get known;

  String get pleaseAdd;

  String get imgUploadFail;

  String get upperLowerTips;

  String get yyyy;

  String get yyyyMM;

  String get yyyyMMdd;

  String get hhMMss;

  String get hhMM;

  String get hh;

  String get mm;

  String get ss;

  String get averageValue;

  String get drag;

  String get notSupportPreview;

  String get fileLoadFail;

  String get setThemeHint;

  String get themeHint;

  String get uploadImageHint;

  List<String> get months;

  List<String> get weekFullName;

  List<String> get weekShortName;

  List<String> get weekMinName;

  String get reset;
}

///
/// 中文资源
///
class KqStringZh extends KqBaseString {
  static Locale locale = Locale('zh', 'CN');

  @override
  String get ok => '确定';

  @override
  String get cancel => '取消';

  @override
  String get confirm => '确认';

  @override
  String get loading => '加载中...';

  @override
  String get pleaseEnter => '请输入';

  @override
  String get pleaseChoose => '请选择';

  @override
  String get pleaseAdd => '请添加';

  @override
  String get collapse => '收起';

  @override
  String get more => '更多';

  @override
  String get known => '我知道了';

  @override
  String get noDataTip => '暂无数据';

  @override
  String get selectAll => '全选';

  @override
  String get to => '至';

  @override
  String get total => '共';

  @override
  String get bar => '条';

  @override
  String get imgUploadFail => '图片上传失败，请重试';

  @override
  String get search => '搜索';

  @override
  String get noPermission => '没有功能权限，请联系管理员';

  @override
  String get timeRange => "时间范围";

  @override
  String get chooseFile => "选择文件";

  @override
  String get choosePhoto => "相册选图";

  @override
  String get takePhoto => "相机拍照";

  @override
  String get byDay => "按天";

  @override
  String get byMonth => "按月";

  @override
  String get byYear => "按年";

  @override
  String get pleaseChooseTime => "请选择时间";

  @override
  String get endTimeNotLessStartTime => "结束时间不能早于开始时间";

  @override
  String get videoPlay => "视频播放";

  @override
  String get upperLowerTips => "范围左侧必须小于等于右侧";

  @override
  String get segment => "段";

  @override
  String get high => "高";

  @override
  String get low => "低";

  @override
  String get middle => "中";

  @override
  String get canNotCount => "暂时无法计算";

  @override
  String get yyyyMMdd => "yyyy年,MM月,dd日";

  @override
  String get hhMMss => "HH时:mm分:ss秒";

  @override
  String get hhMM => "HH时:mm分";

  @override
  String get hh => "HH时";

  @override
  String get mm => "mm分";

  @override
  String get ss => "ss秒";

  @override
  String get averageValue => "平均值";

  @override
  String get drag => "拖动";

  @override
  String get yyyy => "yyyy年";

  @override
  String get yyyyMM => "yyyy年,MM月";

  @override
  String get fileLoadFail => "文件加载失败";

  @override
  String get notSupportPreview => "不支持预览的文件类型";

  @override
  String get setThemeHint => '设为主图';

  @override
  String get themeHint => '主图';

  @override
  String get uploadImageHint => '点击上传图片';

  @override
  String get reset => '重置';

  @override
  List<String> get months => [
        '01',
        '02',
        '03',
        '04',
        '05',
        '06',
        '07',
        '08',
        '09',
        '10',
        '11',
        '12',
      ];

  @override
  List<String> get weekFullName => [
        '星期一',
        '星期二',
        '星期三',
        '星期四',
        '星期五',
        '星期六',
        '星期日',
      ];

  @override
  List<String> get weekShortName => [
        '周一',
        '周二',
        '周三',
        '周四',
        '周五',
        '周六',
        '周日',
      ];

  @override
  List<String> get weekMinName => [
        '日',
        '一',
        '二',
        '三',
        '四',
        '五',
        '六',
      ];
}
